package com.itcm.skymail.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itcm.skymail.product.entity.AttrGroupEntity;
import com.itcm.skymail.product.vo.SpuItemBaseAttrVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 *
 * @author cm_fighting
 * @email cmtianxie@163.com
 * @date 2020-08-27 14:20:36
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SpuItemBaseAttrVo> getBaseAttrsWithGroup(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);
}
